package com.ikun.common.observer.impl;



import com.ikun.common.observer.base.Observer;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author ximeng
 * @title: EmailObserver
 * @projectName iot-fy-2301-parent
 * @description: 邮件通知用户
 * @date 2023/10/8  15:20
 */
@Component
@Slf4j
public class EmailObserver implements Observer {
    @Override
    public void notifyAll(String msg) {
      log.info("邮件通知用户出现系统异常:{}",msg);
      // todo 邮件通知
    }
}
